Set Variable to Constant or Expression Result

Description

The Set Variable to Constant or Expression Result action stores a constant or expression result in a variable.

Procedure

  1. Choose whether the variable is a New variable or an Existing variable.

  2. If you selected "New Variable", enter the Variable Name.

  3. Select the Scope of the variable. The options are:

    • "Shared" - the variable is available to scripts based on the underlying form or browse

    • "Global" - the variable is available to other scripts

  4. Select the Type of the variable. The options are:

    • "Character"

    • "Date"

    • "Logical"

    • "Numeric"

  5. In the Set Value To field enter the data or expression that defines the variable's value. Optionally, click the 'xy' button to open the Expression Builder.

  6. Click Next >.

  7. Optionally modify the comment that describes the action.

  8. Click Finish.

See Also